package org.linuxsogood.boot.desin.decorator;

/**
 * 装饰器
 * @author liu.hongwei
 */
public abstract class Decorator implements Drink{

    private Drink drink;

    public Decorator(Drink drink) {
        drink = drink;
    }

    @Override
    public double price() {
        return drink.price();
    }

    @Override
    public String desc() {
        return drink.desc();
    }
}
